package br.com.social.mobile.exception;

import org.apache.log4j.Logger;

public class SocialMobileException extends Exception {

	private static final long serialVersionUID = -3836773177406960286L;

	private static final Logger logger = Logger.getLogger(SocialMobileException.class);

	public SocialMobileException(String reason) {
		super(reason);
		logger.error("SocialMobileException" + reason);
	}

	public SocialMobileException(String reason, Exception cause) {
		super(reason, cause);
		logger.error("SocialMobileException", cause);
	}

}
